package com.dianping.cat.home.heavy.entity;

import com.dianping.cat.home.heavy.BaseEntity;
import com.dianping.cat.home.heavy.IVisitor;
import java.util.Date;








public class HeavyReport
  extends BaseEntity<HeavyReport>
{
  private String m_domain;
  private Date m_startTime;
  private Date m_endTime;
  private HeavySql m_heavySql;
  private HeavyCall m_heavyCall;
  private HeavyCache m_heavyCache;

  public HeavyReport() {}

/*  26 */   public HeavyReport(String domain) { this.m_domain = domain; }




  public void accept(IVisitor visitor) { visitor.visitHeavyReport(this); }



  public boolean equals(Object obj) {
    if (obj instanceof HeavyReport) {
/*  37 */       HeavyReport _o = (HeavyReport)obj;

/*  39 */       if (!equals(getDomain(), _o.getDomain())) {
/*  40 */         return false;
      }

/*  43 */       return true;
    }

/*  46 */     return false;
  }


/*  50 */   public String getDomain() { return this.m_domain; }



/*  54 */   public Date getEndTime() { return this.m_endTime; }



/*  58 */   public HeavyCache getHeavyCache() { return this.m_heavyCache; }



/*  62 */   public HeavyCall getHeavyCall() { return this.m_heavyCall; }



/*  66 */   public HeavySql getHeavySql() { return this.m_heavySql; }



/*  70 */   public Date getStartTime() { return this.m_startTime; }



  public int hashCode() {
/*  75 */     int hash = 0;

/*  77 */     return hash * 31 + ((this.m_domain == null) ? 0 : this.m_domain.hashCode());
  }




  public void mergeAttributes(HeavyReport other) {
/*  84 */     assertAttributeEquals(other, "heavy-report", "domain", this.m_domain, other.getDomain());

/*  86 */     if (other.getStartTime() != null) {
/*  87 */       this.m_startTime = other.getStartTime();
    }

/*  90 */     if (other.getEndTime() != null) {
/*  91 */       this.m_endTime = other.getEndTime();
    }
  }

  public HeavyReport setDomain(String domain) {
/*  96 */     this.m_domain = domain;
/*  97 */     return this;
  }

  public HeavyReport setEndTime(Date endTime) {
/* 101 */     this.m_endTime = endTime;
/* 102 */     return this;
  }

  public HeavyReport setHeavyCache(HeavyCache heavyCache) {
/* 106 */     this.m_heavyCache = heavyCache;
/* 107 */     return this;
  }

  public HeavyReport setHeavyCall(HeavyCall heavyCall) {
/* 111 */     this.m_heavyCall = heavyCall;
/* 112 */     return this;
  }

  public HeavyReport setHeavySql(HeavySql heavySql) {
/* 116 */     this.m_heavySql = heavySql;
/* 117 */     return this;
  }

  public HeavyReport setStartTime(Date startTime) {
/* 121 */     this.m_startTime = startTime;
/* 122 */     return this;
  }
}


/* Location:              /Users/hanfei/Documents/apache-tomcat-9.0.24/webapps/cat/WEB-INF/classes/!/com/dianping/cat/home/heavy/entity/HeavyReport.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       1.0.7
 */